<?php
		include('connection.php');
		session_start();
		$shopid = $_GET['shopid'];
		$add = "insert into shopcar values ('$shopid','{$_SESSION['userid']}')";
		$add_operation = mysqli_query($connection,$add);
		if($add_operation==1){
			echo "<script language=\"JavaScript\">\r\n";
			echo " alert(\"添加成功 \");\r\n";
			echo " history.back();\r\n";
			echo "</script>";
			exit;
		}
		
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
</head>

<body>
</body>
</html>